package com.alks.pad.data.dto.stitch;

import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
public class StitchInventoryDetailDto {

    @ApiModelProperty(value = "缴库日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date slipDate;

    @ApiModelProperty(value = "针车类型")
    private int orderType;

    @ApiModelProperty(value = "针车类型2")
    private String orderType2;

    @ApiModelProperty(value = "针车部门")
    private String deptNo;

    @ApiModelProperty(value = "针车组别")
    private String deptName;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "缴库数量/可报数")
    private int qty;

    @ApiModelProperty(value = "已经报产数")
    private int qty2;

    @ApiModelProperty(value = "页面上的可报数")
    private int qty3;

    @ApiModelProperty(value = "工号")
    private String workId;

    @ApiModelProperty(value = "姓名")
    private String workName;

    @ApiModelProperty(value = "报产日期")
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private String sysDate;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "序号")
    private int seqNo;

    @ApiModelProperty(value = "工序名称")
    private String processName;

    @ApiModelProperty(value = "版本号")
    @Version
    private int version;

}
